Pular para o conteúdo principal

Atualizar dados de abertura de conta de pessoa física

PATCH 

https://apisandbox.delbank.com.br/baas/api/v1/customers/person-natural/:document

Endpoint para atualizar dados de uma conta pessoa física

Request

Bodyrequired

    documentstring

    Identificador do documento

    namestring

    Nome do cliente

    emailstring

    Endereço de e-mail do cliente

    phone object
    dddstring

    Código de área

    numberstring

    Número de telefone

    typestring

    Tipo de número de telefone

    Possible values: [RESIDENTIAL, CELL]

    monthlyInvoicingdouble

    Valor do faturamento mensal

    birthDatedate-time

    Data de nascimento do cliente

    educationLevelstring

    Nível de escolaridade do cliente

    Possible values: [UNDEFINED, ILLITERATE, ELEMENTARY_1_TO_4_YEAR, ELEMENTARY_5_YEAR, ELEMENTARY_6_TO_4_YEAR, COMPLETE_ELEMENTARY, INCOMPLETE_HIGH_SCHOOL, COMPLETE_HIGH_SCHOOL, INCOMPLETE_HIGHER, COMPLETE_HIGHER, POSTGRADUATE, MASTER_DEGREE, DOCTORATE_DEGREE]

    maritalStatusstring

    Estado civil do cliente

    Possible values: [UNDEFINED, SINGLE, MARRIED, LEGALLY_SEPARATED, DIVORCED, STABLE_UNION, DETACHED, WIDOWER, OTHERS]

    genderstring

    Gênero do cliente

    Possible values: [UNINFORMED, MALE, FEMALE]

    address object
    typestring

    Tipo de endereço

    Possible values: [COMMERCIAL, RESIDECIAL]

    publicPlacestring

    Logradouro

    numberstring

    Número do endereço

    zipCodestring

    Código postal

    cityNamestring

    Nome da cidade

    neighborhoodstring

    Bairro

Responses

Success

Schema
  • Array [
  • documentstring
    namestring
    emailstring
    typestring

    Possible values: [LEGAL, NATURAL]

    statusstring
    virtualBranch object
    numbernumber
    namestring
    ownerNamestring
    ownerDocumentstring
    ownerBankAccountstring
  • ]
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Patch, "https://apisandbox.delbank.com.br/baas/api/v1/customers/person-natural/:document");
var content = new StringContent("{\n \"document\": \"string\",\n \"name\": \"string\",\n \"email\": \"string\",\n \"phone\": {\n \"ddd\": \"string\",\n \"number\": \"string\",\n \"type\": \"RESIDENTIAL\"\n },\n \"monthlyInvoicing\": 0,\n \"birthDate\": \"2024-07-29T15:51:28.071Z\",\n \"educationLevel\": \"UNDEFINED\",\n \"maritalStatus\": \"UNDEFINED\",\n \"gender\": \"UNNIFORMED\",\n \"address\": {\n \"type\": \"COMMERCIAL\",\n \"publicPlace\": \"string\",\n \"number\": \"string\",\n \"zipCode\": \"string\",\n \"cityName\": \"string\",\n \"neighborhood\": \"string\"\n }\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://apisandbox.delbank.com.br
Body required
{
  "document": "string",
  "name": "string",
  "email": "string",
  "phone": {
    "ddd": "string",
    "number": "string",
    "type": "RESIDENTIAL"
  },
  "monthlyInvoicing": 0,
  "birthDate": "2024-07-29T15:51:28.071Z",
  "educationLevel": "UNDEFINED",
  "maritalStatus": "UNDEFINED",
  "gender": "UNNIFORMED",
  "address": {
    "type": "COMMERCIAL",
    "publicPlace": "string",
    "number": "string",
    "zipCode": "string",
    "cityName": "string",
    "neighborhood": "string"
  }
}
ResponseClear

Click the Send API Request button above and see the response here!